package com.L1ngg.Demo1;

public class Users {

    private String userName;
    private String password;
    private String eamai;
    private String gendar;
    private int age;

    //下面写出无参数和有参数的两种构造方式
    public Users() {
    }

    public Users(String userName, String password, String eamai, String gendar, int age) {
        this.userName = userName;
        this.password = password;
        this.eamai = eamai;
        this.gendar = gendar;
        this.age = age;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEamai() {
        return eamai;
    }

    public void setEamai(String eamai) {
        this.eamai = eamai;
    }

    public String getGendar() {
        return gendar;
    }

    public void setGendar(String gendar) {
        this.gendar = gendar;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
